package com.blockmeta.bbs.immodule.net.api;

import com.blockmeta.bbs.businesslibrary.net.pojo.BaseImResponse;
import com.blockmeta.bbs.immodule.net.pojo.CircleDetailResponse;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author AirThor
 * @date 2019/3/27.
 */
public interface CircleDetailApi {
    /**
     * @see <a hreh="https://gitee.com/btc8/appserver/wikis/IM?sort_id=1348722#311-%E8%8E%B7%E5%8F%96%E5%9C%88%E5%AD%90%E8%AF%A6%E6%83%85-chatgroupgetchatgroup-get"/>
     * @param chatGroupId 圈子ID
     * @return 返回响应数据
     */
    @GET("im/chatGroup/getChatGroup")
    Flowable<BaseImResponse<CircleDetailResponse>> circleDetail(@Query("chatGroupId") long chatGroupId, @Query("userId") int userId);
}
